package com.goldcontrol.cloudweb.service;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.goldcontrol.cloudweb.mapper.InfoMapper;
import com.goldcontrol.cloudweb.model.Info;
import com.goldcontrol.cloudweb.util.HttpUtil;
import org.codehaus.plexus.util.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.math.RoundingMode;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;

@Service
public class InfoService {

    @Autowired
    InfoMapper infoMapper;

    public Info getCompanyInfo(){
        return infoMapper.getCompanyInfo();
    }

    public void updateCompanyInfo(Info info){
        infoMapper.updateCompanyInfo(info);
    }

}
